class Base_Client{
    constructor (ws){
        this.ws = ws;
    }
    send(rawmsg){
        if (this.ws.readyState != 1){
            return;
        }
        return this.ws.send(rawmsg);
    }
}

module.exports = {
    Base_Client
};